export default class Users {
    constructor (
        public avatar?: string,
        public createdBy?: string,
        public createdDate?: string,
        public email?: string,
        public enabled?: boolean,
        public entryDate?: string,
        public lastModifiedBy?: string,
        public lastModifiedDate?: string,
        public lastModifiedIp?: string,
        public leaveDate?: string,
        public password?: string,
        public realName?: string,
        public username?: string,
    ) {
        this.avatar = avatar ? avatar : undefined;
        this.createdBy = createdBy ? createdBy : undefined;
        this.createdDate = createdDate ? createdDate : undefined;
        this.email = email ? email : undefined;
        this.enabled = enabled ? enabled : undefined;
        this.entryDate = entryDate ? entryDate : undefined;
        this.lastModifiedBy = lastModifiedBy ? lastModifiedBy : undefined;
        this.lastModifiedDate = lastModifiedDate ? lastModifiedDate : undefined;
        this.lastModifiedIp = lastModifiedIp ? lastModifiedIp : undefined;
        this.leaveDate = leaveDate ? leaveDate : undefined;
        this.password = password ? password : undefined;
        this.realName = realName ? realName : undefined;
        this.username = username ? username : undefined;
    }
}
